﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models.Mailbox.Mail
{
    public class MailMessage
    {
        /// <summary>
        /// 发件人
        /// </summary>
        public string FromEmail { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord { get; set; }

        /// <summary>
        /// 收件人邮箱
        /// </summary>
        public string ToEmail { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string Subject { get; set; }

        /// <summary>
        /// 正文
        /// </summary>
        public string Body { get; set; }

        /// <summary>
        /// 端口
        /// </summary>
        public string Host { get; set; }

        /// <summary>
        /// ip
        /// </summary>
        public int Ip { get; set; }

        /// <summary>
        /// 是否开启验证
        /// </summary>
        public bool EnableSsl { get; set; }

        /// <summary>
        /// 验证
        /// </summary>
        public bool UseDefaultCredentials { get; set; }

        /// <summary>
        /// 附件
        /// </summary>
        public List<string> FileUrl { get; set; }
    }
}
